import { createApp } from 'vue'
import './style.css'
import '@/assets/global.css'
import App from './App.vue'
import router from "@/router/index.js"

import { createPinia } from 'pinia' // 导入 Pinia

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const pinia = createPinia()
const app = createApp(App)

app.use(pinia)

import "@/permission/index.js"
app.use(router)
app.use(ElementPlus)

app.mount('#app')
